<?php 
$this->E_D("DROP TABLE IF EXISTS `db_node`;");
$this->E_C("CREATE TABLE `db_node` (
  `id` smallint(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) CHARACTER SET utf8 NOT NULL,
  `title` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  `remark` text CHARACTER SET utf8,
  `sort` smallint(6) unsigned DEFAULT NULL,
  `pid` smallint(6) unsigned NOT NULL,
  `level` tinyint(1) unsigned NOT NULL,
  `icon` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT 'css class名',
  PRIMARY KEY (`id`),
  KEY `level` (`level`),
  KEY `pid` (`pid`),
  KEY `status` (`status`),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=378 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='后台节点表'");
$this->E_D("replace into `db_node` values('101','User/index','用户管理','1','','820','0','1','layui-icon-user');");
$this->E_D("replace into `db_node` values('103','Config/index','系统设置','1','','900','0','1','layui-icon-slider');");
$this->E_D("replace into `db_node` values('104','User/index','用户列表','1','','10','101','2','');");
$this->E_D("replace into `db_node` values('105','User/add','增加用户','1','','10','104','3','');");
$this->E_D("replace into `db_node` values('113','Role/index','角色列表','1','','20','101','2','');");
$this->E_D("replace into `db_node` values('114','User/update','修改用户','1','','20','104','3','');");
$this->E_D("replace into `db_node` values('115','Role/access','权限配置','1','','10','113','3','');");
$this->E_D("replace into `db_node` values('116','Role/add','添加角色','1','','20','113','3','');");
$this->E_D("replace into `db_node` values('117','Role/update','修改角色','1','','30','113','3','');");
$this->E_D("replace into `db_node` values('118','Role/delete','删除角色','1','','40','113','3','');");
$this->E_D("replace into `db_node` values('122','User/del','删除用户','1','','30','104','3','');");
$this->E_D("replace into `db_node` values('123','Node/index','菜单管理','1','','20','103','2','');");
$this->E_D("replace into `db_node` values('126','Node/update','编辑菜单','1','','30','123','3','');");
$this->E_D("replace into `db_node` values('127','Config/index','网站设置','1','','30','103','2','');");
$this->E_D("replace into `db_node` values('161','Node/delete','删除菜单','1','','40','123','3','');");
$this->E_D("replace into `db_node` values('162','Member/index','会员管理','0','','11','0','1','layui-icon-carousel');");
$this->E_D("replace into `db_node` values('163','Member/index','会员列表','1','','10','162','2','');");
$this->E_D("replace into `db_node` values('174','Member/update','修改会员','1','','10','163','3','');");
$this->E_D("replace into `db_node` values('175','Member/delete','删除会员','1','','20','163','3','');");
$this->E_D("replace into `db_node` values('212','Table/index','数据表管理','1','','25','103','2','');");
$this->E_D("replace into `db_node` values('213','Table/add','增加数据表','1','','10','212','3','');");
$this->E_D("replace into `db_node` values('214','Table/update','编辑数据表','1','','20','212','3','');");
$this->E_D("replace into `db_node` values('216','TableField/index','字段管理','1','','40','212','3','');");
$this->E_D("replace into `db_node` values('217','TableField/add','增加字段','1','','10','216','4','');");
$this->E_D("replace into `db_node` values('218','TableField/update','编辑字段','1','','20','216','4','');");
$this->E_D("replace into `db_node` values('219','Info/index','信息管理','0','','60','0','1','');");
$this->E_D("replace into `db_node` values('220','Info/add','增加信息','1','','10','219','2','');");
$this->E_D("replace into `db_node` values('221','Info/update','修改信息','1','','20','219','2','');");
$this->E_D("replace into `db_node` values('222','Info/delete','删除信息','1','','30','219','2','');");
$this->E_D("replace into `db_node` values('233','Feedback/index','插件管理','1','','70','0','1','layui-icon-component');");
$this->E_D("replace into `db_node` values('254','Info/checked','审核信息','1','','40','219','2','');");
$this->E_D("replace into `db_node` values('255','Cat/index','栏目管理','1','','200','0','2','layui-icon-template-1');");
$this->E_D("replace into `db_node` values('264','Template/index','模版管理','1','','300','0','1','layui-icon-template');");
$this->E_D("replace into `db_node` values('265','Template/index','首页模板','1','','10','264','2','');");
$this->E_D("replace into `db_node` values('266','Template/list','列表页模板','1','','20','264','2','');");
$this->E_D("replace into `db_node` values('267','Template/view','内容页模板','1','','30','264','2','');");
$this->E_D("replace into `db_node` values('268','Template/public','公共模板','1','','40','264','2','');");
$this->E_D("replace into `db_node` values('269','Template/add','增加模板','0','','50','264','2','');");
$this->E_D("replace into `db_node` values('270','Template/update','修改模板','0','','60','264','2','');");
$this->E_D("replace into `db_node` values('271','Template/delete','删除模板','0','','70','264','2','');");
$this->E_D("replace into `db_node` values('280','Page/index','自定义单页','1','','90','255','2','');");
$this->E_D("replace into `db_node` values('282','Page/add','增加单页','1','','10','280','3','');");
$this->E_D("replace into `db_node` values('283','Page/update','修改单页','1','','20','280','3','');");
$this->E_D("replace into `db_node` values('284','Page/template','自定义模板','1','','30','280','3','');");
$this->E_D("replace into `db_node` values('285','Page/page_template_add','增加模板','1','','10','284','4','');");
$this->E_D("replace into `db_node` values('286','Page/page_template_editor','修改模板','1','','20','284','4','');");
$this->E_D("replace into `db_node` values('290','Page/delete','删除单页','1','','40','280','3','');");
$this->E_D("replace into `db_node` values('291','Database/index','数据备份','1','','26','103','2','');");
$this->E_D("replace into `db_node` values('292','Database/recovery','恢复数据','1','','10','291','3','');");
$this->E_D("replace into `db_node` values('293','Database/delete','删除备份','1','','20','291','3','');");
$this->E_D("replace into `db_node` values('294','Model/index','数据模型管理','1','','50','212','3','');");
$this->E_D("replace into `db_node` values('295','Table/delete','删除数据表','1','','30','212','3','');");
$this->E_D("replace into `db_node` values('296','TableField/delete','删除字段','1','','30','216','4','');");
$this->E_D("replace into `db_node` values('297','Model/add','添加模型','1','','10','294','4','');");
$this->E_D("replace into `db_node` values('298','Model/update','修改模型','1','','20','294','4','');");
$this->E_D("replace into `db_node` values('299','Model/delete','删除模型','1','','30','294','4','');");
$this->E_D("replace into `db_node` values('300','Feedback/index','留言反馈','1','','10','233','2','');");
$this->E_D("replace into `db_node` values('301','Feedback/delete','删除信息','1','','10','300','3','');");
$this->E_D("replace into `db_node` values('302','Ad/index','广告管理','1','','20','233','2','');");
$this->E_D("replace into `db_node` values('303','Ad/add','增加广告','1','','10','302','3','');");
$this->E_D("replace into `db_node` values('304','Ad/update','编辑广告','1','','20','302','3','');");
$this->E_D("replace into `db_node` values('305','Ad/delete','删除广告','1','','30','302','3','');");
$this->E_D("replace into `db_node` values('306','AdCat/index','广告分类','1','','40','302','3','');");
$this->E_D("replace into `db_node` values('307','AdCat/add','添加分类','1','','10','306','4','');");
$this->E_D("replace into `db_node` values('308','AdCat/update','编辑分类','1','','20','306','4','');");
$this->E_D("replace into `db_node` values('309','AdCat/delete','删除分类','1','','30','306','4','');");
$this->E_D("replace into `db_node` values('310','Link/index','友情链接','1','','30','233','2','');");
$this->E_D("replace into `db_node` values('311','Link/add','增加信息','1','','10','310','3','');");
$this->E_D("replace into `db_node` values('312','Link/update','编辑信息','1','','20','310','3','');");
$this->E_D("replace into `db_node` values('313','Link/delete','删除信息','1','','30','310','3','');");
$this->E_D("replace into `db_node` values('314','LinkCat/index','分类管理','1','','40','310','3','');");
$this->E_D("replace into `db_node` values('315','FeedbackField/index','字段管理','1','','20','300','3','');");
$this->E_D("replace into `db_node` values('316','FeedbackField/add','增加字段','1','','10','315','4','');");
$this->E_D("replace into `db_node` values('317','FeedbackField/update','编辑字段','1','','20','315','4','');");
$this->E_D("replace into `db_node` values('318','FeedbackField/delete','删除字段','1','','30','315','4','');");
$this->E_D("replace into `db_node` values('319','FeedbackCat/index','分类管理','1','','30','300','3','');");
$this->E_D("replace into `db_node` values('320','FeedbackCat/add','增加分类','1','','10','319','4','');");
$this->E_D("replace into `db_node` values('321','FeedbackCat/update','编辑分类','1','','20','319','4','');");
$this->E_D("replace into `db_node` values('322','FeedbackCat/delete','删除分类','1','','30','319','4','');");
$this->E_D("replace into `db_node` values('323','Order/index','订单管理','0','','810','0','1','layui-icon-cart-simple');");
$this->E_D("replace into `db_node` values('324','CatField/index','管理栏目字段','1','','60','212','3','');");
$this->E_D("replace into `db_node` values('325','CatField/add','增加字段','1','','10','324','4','');");
$this->E_D("replace into `db_node` values('326','CatField/update','修改字段','1','','20','324','4','');");
$this->E_D("replace into `db_node` values('327','Model/updateCatModel','勾选栏目字段','1','','40','294','4','');");
$this->E_D("replace into `db_node` values('328','Info/import','数据导入','1','','60','219','2','');");
$this->E_D("replace into `db_node` values('329','Cat/add','增加栏目','0','','30','255','2','');");
$this->E_D("replace into `db_node` values('330','Cat/update','修改栏目','0','','40','255','2','');");
$this->E_D("replace into `db_node` values('331','Cat/delete','删除栏目','0','','50','255','2','');");
$this->E_D("replace into `db_node` values('332','Role/access_cat','栏目授权','1','','11','113','3','');");
$this->E_D("replace into `db_node` values('333','UserLoginLog/index','登录日志','1','','30','101','2','');");
$this->E_D("replace into `db_node` values('334','UserLog/index','操作日志','1','','40','101','2','');");
$this->E_D("replace into `db_node` values('335','CatField/delete','删除字段','1','','30','324','4','');");
$this->E_D("replace into `db_node` values('336','Database/Ebak_BakExe','备份数据','1','','30','291','3','');");
$this->E_D("replace into `db_node` values('339','Node/add','增加菜单','1','','50','123','3','');");
$this->E_D("replace into `db_node` values('340','Template/setDefault','设置为默认模板','1','','40','265','3','');");
$this->E_D("replace into `db_node` values('341','Member/detail','会员详情','1','','30','163','3','');");
$this->E_D("replace into `db_node` values('342','Order/index','订单列表','1','','10','323','2','');");
$this->E_D("replace into `db_node` values('343','Order/goods_delivery','商品发货管理','1','','20','323','2','');");
$this->E_D("replace into `db_node` values('344','Order/invoice_delivery','发票发货管理','1','','30','323','2','');");
$this->E_D("replace into `db_node` values('345','Order/refundOrder','退款订单处理','1','','40','323','2','');");
$this->E_D("replace into `db_node` values('346','Order/goods_delivery_add','操作发货','1','','10','343','3','');");
$this->E_D("replace into `db_node` values('347','Info/copy','复制信息','1','','70','219','2','');");
$this->E_D("replace into `db_node` values('348','Info/move','移动信息','1','','80','219','2','');");
$this->E_D("replace into `db_node` values('349','Info/set_top','信息顶置','1','','41','219','2','');");
$this->E_D("replace into `db_node` values('350','Info/set_good','信息推荐','1','','42','219','2','');");
$this->E_D("replace into `db_node` values('351','Cat/index2','管理栏目-分页','1','','20','255','2','');");
$this->E_D("replace into `db_node` values('356','Cat/index','管理栏目','1',NULL,'10','255','1','');");
$this->E_D("replace into `db_node` values('357','TemplateHistory/index','历史记录','1',NULL,'10','270','0','');");
$this->E_D("replace into `db_node` values('358','TemplateRecycle/index','回收站','0',NULL,'80','264','0','');");
$this->E_D("replace into `db_node` values('359','TemplateRecycle/view','查看','1',NULL,'10','358','0','');");
$this->E_D("replace into `db_node` values('360','TemplateRecycle/delete','彻底删除','1',NULL,'20','358','0','');");
$this->E_D("replace into `db_node` values('363','Fragment/index','碎片管理','1',NULL,'40','233','2','');");
$this->E_D("replace into `db_node` values('367','FragmentCat/index','分类管理','1',NULL,'40','363','3','');");
$this->E_D("replace into `db_node` values('368','FragmentCat/add','增加分类','1',NULL,'10','367','4','');");
$this->E_D("replace into `db_node` values('369','FragmentCat/update','修改分类','1',NULL,'20','367','4','');");
$this->E_D("replace into `db_node` values('370','FragmentCat/delete','删除分类','1',NULL,'30','367','4','');");
$this->E_D("replace into `db_node` values('371','Fragment/index1','管理','1',NULL,'20','363','3','');");
$this->E_D("replace into `db_node` values('372','Fragment/add','增加碎片','1',NULL,'10','371','4','');");
$this->E_D("replace into `db_node` values('373','Fragment/update','编辑碎片','1',NULL,'20','371','4','');");
$this->E_D("replace into `db_node` values('374','Fragment/delete','删除碎片','1',NULL,'30','371','4','');");
$this->E_D("replace into `db_node` values('375','Fragment/editor','编辑','1',NULL,'50','363','3','');");
$this->E_D("replace into `db_node` values('377','Template/search','搜索模板','1',NULL,'45','264','2','');");

 ?>